// samsting : this file is auto create.

#ifndef ALIYUN_Rds_Region_DescribeSlowLogRecordsResponse_H_
#define ALIYUN_Rds_Region_DescribeSlowLogRecordsResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Rds_Region {

class DescribeSlowLogRecordsResponse : public AcsResponse {
public:
  DescribeSlowLogRecordsResponse();

  class SQLSlowRecord {
    friend class DescribeSlowLogRecordsResponse;
  public:
    const string& GetHostAddress(void) const;
    const string& GetDBName(void) const;
    const string& GetSQLText(void) const;
    int64 GetQueryTimes(void) const;
    int64 GetLockTimes(void) const;
    int64 GetParseRowCounts(void) const;
    int64 GetReturnRowCounts(void) const;
    const string& GetExecutionStartTime(void) const;
  private:
    string HostAddress_;
    string DBName_;
    string SQLText_;
    int64  QueryTimes_;
    int64  LockTimes_;
    int64  ParseRowCounts_;
    int64  ReturnRowCounts_;
    string ExecutionStartTime_;
  }; // SQLSlowRecord 

  const std::vector<SQLSlowRecord>& GetItems(void) const;
  const string& GetEngine(void) const;
  int  GetTotalRecordCount(void) const;
  int  GetPageNumber(void) const;
  int  GetPageRecordCount(void) const;

private:
  std::vector<SQLSlowRecord> Items_;
  string Engine_;
  int    TotalRecordCount_;
  int    PageNumber_;
  int    PageRecordCount_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Rds_Region {

#endif // #ifndef ALIYUN_Rds_Region_DescribeSlowLogRecordsResponse_H_

// end of file 
